package com.hskn.hss.module.oilDevice.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 每日油量变化统计对象 state_oil_device
 *
 * @author ruoyi
 * @date 2021-08-05
 */
@Data
@ApiModel(value = "加油汇总报表列表-VO", description = "加油汇总报表列表-VO")
public class MileageTableVO {
    private static final long serialVersionUID = 1L;
    /**
     * 车辆Id
     */
    @ApiModelProperty(value = "车牌号", name = "carnumber")
    private String carId;
    /**
     * 车牌号
     */
    @ApiModelProperty(value = "车牌号", name = "carnumber")
    private String carnumber;
    /**
     * 车辆类型名称
     */
    @ApiModelProperty(value = "车辆类型名称", name = "carTypeName")
    private String carTypeName;
    /**
     * 机构名称
     */
    @ApiModelProperty(value = "机构名称", name = "deptidforcarName")
    private String deptidforcarName;
    /**
     * 行驶次数
     */
    @ApiModelProperty(value = "行驶次数", name = "runCount")
    private Integer runCount;

    /**
     * 行驶里程(km)
     */
    @ApiModelProperty(value = "行驶里程(km)", name = "clockMileage")
    private BigDecimal clockMileage;
    /**
     * 行驶时长
     */
    @ApiModelProperty(value = "行驶时长(小时)", name = "runTimeLength")
    private String runTimeLength;


    /**
     * 最大速度
     */
    @ApiModelProperty(value = "最大速度", name = "maxSpend")
    private BigDecimal maxSpend;

    /** 開始時間 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "开始时间", name = "startDate")
    private Date startDate;
    /** 結束時間 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "结束时间", name = "endDate")
    private Date endDate;
    /**
     * 开始位置
     */
    @ApiModelProperty(value = "开始位置", name = "startPosition")
    private String startPosition;
    /**
     * 结束位置
     */
    @ApiModelProperty(value = "结束位置", name = "endPosition")
    private String endPosition;
    /**
     * 日期
     */
    @ApiModelProperty(value = "日期", name = "dateString")
    private String dateString;

    public MileageTableVO() {
    }

    public MileageTableVO(String carnumber, String carTypeName, String deptidforcarName, Integer runCount, BigDecimal clockMileage, String runTimeLength, BigDecimal maxSpend, Date startDate, Date endDate, String startPosition, String endPosition) {
        this.carnumber = carnumber;
        this.carTypeName = carTypeName;
        this.deptidforcarName = deptidforcarName;
        this.runCount = runCount;
        this.clockMileage = clockMileage;
        this.runTimeLength = runTimeLength;
        this.maxSpend = maxSpend;
        this.startDate = startDate;
        this.endDate = endDate;
        this.startPosition = startPosition;
        this.endPosition = endPosition;
    }
}
